package net.maku.events.convert;

import net.maku.events.entity.UserJoinActivityEntity;
import net.maku.events.vo.UserJoinActivityVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户参与的活动
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface UserJoinActivityConvert {
    UserJoinActivityConvert INSTANCE = Mappers.getMapper(UserJoinActivityConvert.class);

    UserJoinActivityEntity convert(UserJoinActivityVO vo);

    UserJoinActivityVO convert(UserJoinActivityEntity entity);

    List<UserJoinActivityVO> convertList(List<UserJoinActivityEntity> list);

}